<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>(随堂大事件)登录/注册</title>
   <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <!-- 我的自己的css样式 -->
    <link rel="stylesheet" href="/assets/css/login.css">

</head>

<body>
    <!-- log模块开始 -->
    <div class="layui-main">
        <img src="./assets/images/logo.png" alt="">
    </div>
    <!-- log模块结束 -->
    <div class="loginAndRegBox">
        <!-- 标题模块开始 -->
        <div class="title-log"></div>
        <!-- 标题模块结束 -->

        <!-- 登录模块开始 -->
        <div class="titleEnter">
            <!-- 账号模块 -->
            <form class="layui-form" id="layuiEnter">
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-username"></i>
                    <input type="text" name="username" required lay-verify="required|zhang" placeholder="请输入用户名"
                        autocomplete="off" class="layui-input">
                </div>
                <!-- 密码模块 -->
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-password"></i>
                    <input type="password" name="password" required lay-verify="required|fan" placeholder="请输入密码"
                        autocomplete="off" class="layui-input">
                </div>
                <!-- 提交按钮 -->
                <div class="layui-form-item">
                    <!-- 表单提交按钮和普通按钮的区别是表单按钮有个一lay-submit属性 -->
                    <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit>立即登录</button>
                </div>

                <div class="layui-form-item links">
                    <a href="javascript:;" id="Enter">去注册</a>
                </div>
            </form>

        </div>
        <!-- 登录模块结束 -->
        <!-- 注册模块开始 -->
        <div class="titleRegiSter">
            <form class="layui-form" id="layuiRegiSter">
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-username"></i>
                    <input type="text" name="username" required lay-verify="required|zhang" placeholder="请输入用户名"
                        autocomplete="off" class="layui-input">
                </div>
                <!-- 密码模块 -->
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-password"></i>
                    <input type="password" name="password" required lay-verify="required|fan" placeholder="请输入密码"
                        autocomplete="off" class="layui-input">
                </div>
                <!-- 确认密message码框 -->
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-password"></i>
                    <input type="password" name="repassword" required lay-verify="required|fan|wang"
                        placeholder="再次确认密码" autocomplete="off" class="layui-input">
                </div>
                <!-- 提交按钮 -->
                <div class="layui-form-item">
                    <!-- 表单提交按钮和普通按钮的区别是表单按钮有个一lay-submit属性 -->
                    <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit>立即注册</button>
                </div>

                <div class="layui-form-item links">
                    <a href="javascript:;" id="RegiSter">去登录</a>
                </div>
            </form>
        </div>
        <!-- 注册模块结束 -->
    </div>
    <!-- 导入jq -->
    <script src="/assets/lib/jquery.js"></script>
    <!-- 这是layui的js -->
    <script src="/assets/lib/layui/layui.all.js"></script>
    <!-- 这是自己封装的函数 -->
    <script src="/assets/js/baseAPl.js"></script>
    <!-- 导入自己的js -->
    <script src="/assets/js/login.js"></script>
</body>

</html>